package com.sdp.irrigation.utils;

import lombok.Getter;

@Getter
public enum ProtocolTypeEnum {

	LOGIN("login"),//登陆
	
	HEART("heart"),//心跳
	
	REPORT("report"),//设备帧数据上报
	
	USER("user"),//用户帧数据上报
	
	ALARM("alarm"),//报警
	
	QUERY_BALANCE("query"),//查询余额
	
	VERSION("version"),//版本号查询应答
	
	PARAM_SET("set");//参数设置应答
	
	final private String code;

	ProtocolTypeEnum(String code) {
        this.code = code;
    }
}
